<!--
 * @Description:
 * @Author BPF
 * @create 2021/8/26 21:33
 -->
<template>
  <div class="w-full h-full">
    <b-router-view-cache
      ref="routerViewRef"
      mode="out-in"
      transition
      cache-mode="flat"
      transition-name="slide-transform"
      @route-change="onRouteChange"
    ></b-router-view-cache>
  </div>
</template>

<script>
export default {
  methods: {
    onRouteChange(params) {
      console.log('params', params)
    }
  }
}
</script>

<style scoped lang="scss"></style>
